import { http } from '@/http/http'
import { IGetDoctorListRequest, IGetDoctorListResponse } from './types/doctor'

/**
 * 获取医生列表
 * @param params 请求参数
 */
export function getDoctorList(params: IGetDoctorListRequest) {
  return http.get<IGetDoctorListResponse>('/home/page/doc', params)
}